|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IProcessDescriptor
A descriptor for process instances.
| Method Summary | |
|---|---|
java.lang.String |
getProcessID()
Returns the ID of the process being described. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Returns the value of the property with the specified name or null if no such property exists. |
java.lang.Object |
getService(java.lang.String identifier)
Returns the service selected for the specified identifier or null if no such service exists. |
java.lang.String[] |
getServiceIdentifiers()
Returns the identifiers of all the externally-provided services. |
boolean |
isSeverityEnabled(int severity)
Returns true if the specified report severity level is enabled. |
java.lang.Class |
loadClass(java.lang.String className)
Loads a class visible to the process. |
void |
report(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
Notifies this descriptor of a report made during the execution of the process. |
| Method Detail |
|---|
java.lang.String getProcessID()
java.lang.String[] getServiceIdentifiers()
java.lang.Object getService(java.lang.String identifier)
throws java.lang.NullPointerException
null if no such service exists.
identifier - The identifier of the service to return.
null if no such service exists.
java.lang.NullPointerException - If the supplied identifier is
null.
java.lang.Object getProperty(java.lang.String propertyName)
throws java.lang.NullPointerException
null if no such property exists.
propertyName - The name of the property to return.
null if no such property exists.
java.lang.NullPointerException - If the specified property name is
null.
java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException,
java.lang.NullPointerException
className - The name of the class to load.
java.lang.ClassNotFoundException - If a class with the specified name cannot be
found.
java.lang.NullPointerException - If the supplied class name is
null.boolean isSeverityEnabled(int severity)
severity - The severity to check.
void report(int severity,
java.lang.String[] categories,
java.lang.String message,
java.util.Dictionary properties)
severity - The severity of the report.categories - The categories the report pertains to or
null if no catagories are related.message - The message associated with the report or null
to not include a message.properties - The properties of the report or null if no
properties are specified.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||